


import {axios,get,post,patch,Delete} from "./request"

export const ajax = {
    gettest:()=>get("/react/test"),
    register:(body)=>post("/react/register",body),
    login:(body)=>post("/react/login",body),
    sendCode:(params)=>get("/react/sendCode",params),
    verifyCode:(params)=>get("/react/verifyCode",params),

    getuserinfo:(params)=>get("/react/getuserinfo",params),
    uploadimg:(body)=>post("/react/uploadimg",body),

    getuserlist:(params)=>post("/react/getuserlist",params),

    deloneuser:(params)=>post("/react/deloneuser",params),

    updateoneuser:(params)=>post("/react/updateoneuser",params),

    adduser:(params)=>post("/react/adduser",params),

    addbanji:(params)=>post("/react/addbanji",params),

    getbanjilist:(params)=>post("/react/getbanjilist",params),

    delonebanji:(params)=>post("/react/delonebanji",params),

    updateuserbanji:(params)=>post("/react/updateuserbanji",params),

    addxiangmu:(params)=>post("/react/addxiangmu",params),




    
}